<!-- 积分明细 -->
<template>
	<view>
		<view class="ul">
			<view class="list"  v-for="(k,i) in list">
				<view class="msg">
					<text>{{k.option}}</text>
					<text style="font-weight: Bold;" :style="{'color':(k.change>0)?'#FFBB1E':''}">{{(k.change>0)?('+'+k.change):k.change}}积分</text>
				</view>
				<view class="time">
					{{k.time}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						option:'签到',
						change:10,
						time:'2018-12-21 16:46',
					},
					{
						option:'签到',
						change:10,
						time:'2018-12-21 16:46',
					},
					{
						option:'兑换 抽纸巾4层100抽',
						change:-1000,
						time:'2018-12-21 16:46',
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style>

.ul{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 750rpx;
}

.list{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 690rpx;
	height: 134rpx;
	border-bottom: 2rpx solid #ededed;
}

.list .msg{
	display: flex;
	justify-content: space-between;
	font-size: 30rpx;
	color: #333333;
}

.list .time{
	font-size: 24rpx;
	font-weight: 400;
	font-family: Source Han Sans CN, Source Han Sans CN-Regular;
	color: #999999;
}
</style>
